function b = IsSymmetric( A )
N = size(A, 1);
M = size(A, 2);
if (N ~= M)
    b = false;
    return;
end;
b = A == A';
end

